package com.dgut.sales.dao;

import java.util.List;
import java.util.Map;

import com.dgut.sales.bean.Goods;
import com.dgut.sales.dynamic.sql.bean.GoodsSearch;

public interface GoodsDao {
	public Goods getGoodsById(Integer id);
	public List<Goods> getAllGoods();
	public void addGoods(Goods goods);
	public void updateGoods(Goods goods);
	public void deleteGoods(Integer id);
	public List<Goods> search(GoodsSearch goodsSearch);
	public List<Map <String,Object>> SearchGoodsWithMoney();

}
